{% extends 'base.html' %}
{% block content %}
<h2>消费明细</h2>
<table class="table">
    <thead>
        <tr>
            <th>卡ICCID</th>
            <th>金额</th>
            <th>费用类型</th>
            <th>消费时间</th>
            <th>备注</th>
        </tr>
    </thead>
    <tbody>
        {% for fee in fees %}
        <tr>
            <td>{{ fee.card.iccid }}</td>
            <td>{{ fee.amount }}</td>
            <td>{{ fee.fee_type }}</td>
            <td>{{ fee.created_at }}</td>
            <td>{{ fee.remark }}</td>
        </tr>
        {% endfor %}
    </tbody>
</table>
{% endblock %}
